package com.zy.service.impl;

import com.zy.bean.ProductType;
import com.zy.service.IProductTypeService;

import java.util.ArrayList;
import java.util.List;

public class ProductTypeService implements IProductTypeService {
    /**
     * @Author GongXl
     * @Description 获得产品数据集合
     * @Date 017 15:09
     * @Param []
     * @return java.util.List<com.zy.bean.ProductType>
    **/
    @Override
    public List<ProductType> getProductTypeList() {
        List<ProductType> productTypeList = new ArrayList<ProductType>();
        ProductType productType = new ProductType();
        productType.setName("家用电器");
        productTypeList.add(productType);
        productType = new ProductType();
        productType.setName("手机/运营商/数码");
        productTypeList.add(productType);
        productType = new ProductType();
        productType.setName("电脑办公");
        productTypeList.add(productType);
        productType = new ProductType();
        productType.setName("电脑办公################");
        productTypeList.add(productType);
        return productTypeList;
    }
}
